<script>
import { config } from "./config.js";
import 'weapp-cookie'

export default {
  onLaunch: function () {
    console.log("App Launch");
  },
  onShow: function () {
		
    console.log("on show");
    // this.getLogin() 
  },
	
  methods: {
    getLogin () {
      const that = this;
      uni.login({
        provider: "weixin",
        success: function (res) {
					console.log(res,111111)
          
        },
        fail: function () {
          uni.showToast({
            title: "微信登录失败",
            icon: "none",
          });
        },
      });
    },
  },
};
</script>

<style lang="scss">
@import 'uview-ui/index.scss';
/* uni.scss */
@import "uview-ui/theme.scss";
@import '/common/animate.css';
@import '/common/zcm-main.css';
/*每个页面公共css */
@import '/common/common.scss';

view {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
</style>
